package com.datang.pet.pojo;

import java.io.Serializable;
import java.util.Date;

public class UserMessage implements Serializable {
    private String id;

    private String isRead;

    private String message;

    private String messageType;

    private String userId;

    private String modelId;

    private Date messageDate;

    private String extent1;

    private String extent2;

    private String extent3;

    private String extent4;

    private static final long serialVersionUID = 1L;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getIsRead() {
        return isRead;
    }

    public void setIsRead(String isRead) {
        this.isRead = isRead == null ? null : isRead.trim();
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message == null ? null : message.trim();
    }

    public String getMessageType() {
        return messageType;
    }

    public void setMessageType(String messageType) {
        this.messageType = messageType == null ? null : messageType.trim();
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getModelId() {
        return modelId;
    }

    public void setModelId(String modelId) {
        this.modelId = modelId == null ? null : modelId.trim();
    }

    public Date getMessageDate() {
        return messageDate;
    }

    public void setMessageDate(Date messageDate) {
        this.messageDate = messageDate;
    }

    public String getExtent1() {
        return extent1;
    }

    public void setExtent1(String extent1) {
        this.extent1 = extent1 == null ? null : extent1.trim();
    }

    public String getExtent2() {
        return extent2;
    }

    public void setExtent2(String extent2) {
        this.extent2 = extent2 == null ? null : extent2.trim();
    }

    public String getExtent3() {
        return extent3;
    }

    public void setExtent3(String extent3) {
        this.extent3 = extent3 == null ? null : extent3.trim();
    }

    public String getExtent4() {
        return extent4;
    }

    public void setExtent4(String extent4) {
        this.extent4 = extent4 == null ? null : extent4.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", isRead=").append(isRead);
        sb.append(", message=").append(message);
        sb.append(", messageType=").append(messageType);
        sb.append(", userId=").append(userId);
        sb.append(", modelId=").append(modelId);
        sb.append(", messageDate=").append(messageDate);
        sb.append(", extent1=").append(extent1);
        sb.append(", extent2=").append(extent2);
        sb.append(", extent3=").append(extent3);
        sb.append(", extent4=").append(extent4);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}